package com.zyx.javademo.mapstruct.bean;

import lombok.Data;

import java.io.Serializable;

/**
 * @author Yaxi.Zhang
 * @since 2021/5/8 16:21
 * desc: 网络传输对象
 */
public class UserDTO implements Serializable {
    private static final long serialVersionUID = -2767215193284523251L;
    /**
     * 主键
     */
    private String id;
    /**
     * 姓名
     */
    private String name;
    /**
     * 性别
     */
    private SexEnum sex;
    /**
     * 描述
     */
    private String desc;
    /**
     * 创建时间
     */
    private String createTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public SexEnum getSex() {
        return sex;
    }

    public void setSex(SexEnum sex) {
        this.sex = sex;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
}